package com.ruoyi.system.domain;

import lombok.Data;

import java.util.List;

/**
 * 对应数据库表 TOUR_ROUTE
 */
@Data
public class TourRoute {

    private int id;
    private String routeName;
    private int cityId;
    private TourCity city;
    private List<TourPackage> packages;
    private List<TourSight> sights;

    public TourRoute(){}
    public TourRoute(String routeName, int cityId) {
        this.routeName = routeName;
        this.cityId = cityId;
    }

    public int getId() {
        return id;
    }

    public List<TourSight> getSights() {
        return sights;
    }

    public void setSights(List<TourSight> sights) {
        this.sights = sights;
    }
}
